package com.codejam.gof.decrator.dec;

import com.codejam.gof.decrator.Decorator;
import com.codejam.gof.decrator.concrete.Drink;
import lombok.Data;

/**
 * 调味品3
 */
@Data
public class Soy extends Decorator {

    public Soy(Drink obj) {
        super(obj);

        setDesc("豆浆 1.5");
        //调味品的价格
        setPrice(1.5f);
    }
}
